-------------------------------------------------------------------
Mgosoft PDF To IMAGE Command Line
Homepage: http://www.mgosoft.com
E-mail  : support@mgosoft.com
-------------------------------------------------------------------
Usage: pdftoimage <-i PDF File> [options]

-i <string>	:Specify input PDF file or directory which contains pdf files.

-o <string>	:Specify Output directory, default same as source directory.

-w <string>	:Set Open PDF file password. 

-t <string>	:Set image type, default is 'jpg'.
		-t tif	tif image file( 24,8,7,4,3,1 bits).
		-t bmp	bmp image file( 24,8,7,4,3,1 bits).
		-t png	png image file( 24,8,7,4,3,1 bits).
		-t pcx	pcx image file( 24,8,7,4,3,1 bits).
		-t gif	gif image file( 8,7,4,3,1 bits).
		-t jpg	jpg image file( 24,7 bits).
		-t wmf	wmf image file.
		-t emf	emf image file.
		-t tga	tga image file.
		-t jp2	jpeg2000 image file.
		-t ras	ras image file.

-b <int>	:Set color depth 1, 3, 4, 7, 8 and 24,default is 24.
		-b 24	True color(24 bits)
		-b 8	256 color(8 bits)
		-b 7	256 color grayscale(8 bits)
		-b 4	16 color(4 bits)
		-b 3	16 color grayscale(4 bits)
		-b 1	black/white(1 bits)
		
-q <int>	:Set quality for jpeg image,from 1 to 100,default is 75.

-c <string>	:Set compression method fo tiff files, default is 'jpeg'
		-c none		Create TIFF file without compression
		-c lzw		Compress TIFF using LZW arithmetic
		-c jpeg		Compress TIFF using JPEG arithmetic
		-c packbits	Compress TIFF using PACKBITS arithmetic
		-c g4		Compress TIFF using CCITT G4 arithmetic
		-c g3		Compress TIFF using CCITT G3 arithmetic
		-c rle		Compress TIFF using RLE arithmetic

-x <int>	:Set Horizontal resolution in generated image files,form 72 to 600, default is 72.

-y <int>	:Set Vertical resolution in generated image files,form 72 to 600, default is 72.

-g <int>	:Set rotate angle, 0,90,180,270

-s <string>	:Set image size.
		-s 1024x768	Set generated image width is 1024, height is 768. 

-n <string>	:Set page range to convert.
		-n 2,5-15,20-	Extract page 2,page 5 through 15, page 20 through end.

-m		:Set output to multi-page TIFF file, default is output to single page TIFF files.

-r <string>	:Register.

-?		:Help.

-------------------------------------------------------
Example:
pdftoimage -i C:\input.pdf 
pdftoimage -i C:\inputpdf\ -o c:\output\
pdftoimage -i C:\input.pdf -o C:\output\ -t jpg -q 80
pdftoimage -i C:\input.pdf -o C:\output\ -t bmp -b 4 -x 300 -y 300
pdftoimage -i C:\input.pdf -o C:\output\ -t tif -m -g 90
pdftoimage -i C:\input.pdf -o C:\output\ -t tif -c lzw 
pdftoimage -i C:\input.pdf -o C:\output\ -t png -n 2,5-15,20-  
pdftoimage -i C:\input.pdf -o C:\output\ -t pcx -s 1024x768


Please notice, if your input pdf's filename or output directory contain space(s), you must use quotation mark to include them, for example,
C:\pdftoimage "C:\123 456.pdf" "C:\my test\"